package com.typhoon.spring_jdbctemplate.compare;

import java.util.Date;

import com.typhoon.spring_jdbctemplate.entity.User;

/**
 * 用户信息比较器
 * 
 * @author Typhoon
 * @date 2017-09-17 11:12 Sunday
 * @since V2.0
 */
public class UserComparetor extends AbstractComparator<User, User> {

	@Override
	public User onCreate(User paramS) {
		paramS.setCreateTime(new Date());
		return paramS;
	}

}
